﻿using GeekTime.Domain.Abstructions;
using System;
using System.Collections.Generic;
using System.Text;

namespace GeekTime.Domain.UserAggregate
{
    public class User:Entity<long> ,IAggregateRoot
    {
        public string UserName { get; private set; }

        public User()
        {

        }
        public User(string userName)
        {
            UserName = userName;
        }

        public void ChangeUserName(string userName)
        {
            UserName = userName;
        }
    }
}
